package com.hspedu.handler;

import com.hspedu.entity.Result;

public class CustonGlobalFallbackHandler {
    public static Result fallbackHandler1(Throwable e){
        return Result.Error("403","Java异常 信息="+e.getMessage());
    }
    public static Result fallbackHandler2(Throwable e){
        return Result.Error("404","Java异常 信息="+e.getMessage());
    }
}
